package com.disease.api.service;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication(scanBasePackages = {"com.disease","com.sgw"},exclude ={SecurityAutoConfiguration.class} )
@MapperScan("com.disease.api.service.mapper")
@EnableScheduling
public class DiseaseApplication {

    public static void main(String[] args) {
        SpringApplication.run(DiseaseApplication.class, args);
    }

}
